﻿@using Chaine;
@model Chaine.Models.RegisterModel
@{
    ViewBag.Title = "Register";
    Layout = "~/Views/Shared/_NoAuthen.cshtml";
}
@section maincontent{
    <div class="container hero-unit" style="margin-top: 40px;">
        @if (TempData["send-success"] != null)
        {
            <div class="alert alert-success">
                Email has been sent.
            </div>
        }
        <h1>
            Create a New Account</h1>
        <p>
            Thanks for your registration! We have sent a verification email to your registration
            email box. Please click the link in the email and finish the registration.
        </p>
        <p>
            You can login the system when our administrator approve your application. If you
            are urgent to login the system. Please contact the administrator by <a href="mailto:admin@chaineshanghai.org">
                admin@chaineshanghai.org</a>
        </p>
        <div class="form-inline">
            @Html.ActionLink("Send Email Again", "ResendValidationEmail", "Account", new { id = Model.Id }, new { @class = "btn btn-primary btn-large" })
            @Html.ActionLink("Back To Login Page", "Login", "Account", null, new { @class = "btn btn-success btn-large" })
        </div>
    </div>
}
